package com.ruoyi.wvp.sdk.monitor.entity.response;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.time.LocalDateTime;

@Setter
@Getter
@ToString
public class LiveHistoryInfo implements Serializable {

    private static final long serialVersionUID = 1L;
    private String id;
    //    录像的回放链接
    private String url;
//链接的过期时间
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime expireTime;
}
